package tgc.edu.ljc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import tgc.edu.ljc.custom.BaseEnitity;

@Entity
public class Course extends BaseEnitity<Integer>{
	private String name;
	private Integer classHours;
	
	@Column(length=20)
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getClassHours() {
		return classHours;
	}
	public void setClassHours(Integer classHours) {
		this.classHours = classHours;
	}
	
	
}
